Custom functions
| Function | Description |
|---|---|
| ACQUISITIONCOST |
Assigns an acquisition cost to the specified date.
|
| ACQUISITIONCOSTBYOFFSET |
Assigns an acquisition cost to the start date plus an offset (number of periods).
|
| AVERAGEVALUEPERDAY |
Calculates the average value per day for the given periodic variable and the number of months.
|
| BEFOREPROJECTSTART |
Returns arg1 for periods before project start, and arg2 for other periods.
|
| CUMULATIVE |
Gets the cumulative periodic values of the given periodic variable.
|
| CUMULATIVERANGE |
Calculates the cumulative range value of a periodic variable.
|
| DATEINPERIOD |
Returns true if arg1 is within the current period. This must be used within another periodic function that will return an integer or double.
|
| DAYSINPERIOD |
Returns an array with the number of days for each given period.
|
| DAYSINRANGE |
Returns an array with the number of days in each period, within the date range of arg1 to arg2.
|
| DISCOUNTEDVALUE |
Gets the periodic discounted values of the given periodic variable by the given discount rate.
|
| FIRSTNONZEROYEAR |
Calculates the year of the first non-zero value of a periodic variable.
|
| FIRSTNONZEROYEARMONTH |
Calculates the year and month of the first non-zero value of a periodic variable.
|
| LASTNONZEROYEAR |
Calculates the year of the last non-zero value of a periodic variable - for example, the final year of a project's production. Returns a set of integer values in the Projects View.
|
| LASTNONZEROYEARMONTH |
Calculates the year and month of the last non-zero value of a periodic variable. Returns a set of integer values in the Projects View.
|
| MINDISCACCUMULATEDVALUE |
Finds out the minimum discounted accumulated value of a periodic variable.
|
| NPV |
Calculates the net present value of a periodic variable.
|
| PERIODINDEX |
Returns the index of each period of the given periodic variable. The period index is relative to the portfolio start year and depends on the selected periodicity.
|
| PERIODMONTH |
Returns the number of the last month in each period of the given periodic variable. For example, 2010M1 is 1, 2001Q1 is 3, 2001Q2 is 6.
|
| PERIODYEAR |
Returns the year of each period of the given periodic variable.
|
| PERIODICREMAININGNPV |
Gets the periodic remaining NPV values of the given periodic variable by the given discount rate.
|
| POSACCUMFIRSTYEAR |
Finds out the first year when the given variable has the positive accumulated value. Returns zero if the cumulative value never reaches positive value.
|
| POSDISCACCUMFIRSTYEAR |
Finds out the first year when the given variable has the positive discounted accumulated value. Returns zero if the cumulative value never reaches positive value.
|
| RANGE |
Calculates the total value of a periodic variable for the given range.
|
| ROR |
Calculates the rate of return of a periodic variable.
|
| SCALARTOPERIODIC |
Assigns a scalar value to the specified date.
|
| SCALARTOPERIODICBYOFFSET |
Assigns a scalar value to the start date plus an offset (number of periods).
|
| TOTAL |
Calculates the total value of a periodic variable.
|
| VALUEBYOFFSET |
Gets the periodic values of the given periodic variable by the given offset.
|
| VALUEBYUNSHIFT |
Gets the un-shifted values of the given periodic variable.
|
| VARIABLESHIFTBYDIFF |
Returns a periodic variable with the adjustments accounting for the difference between arg2 and arg3.
|